package com.xh.bussiness.xkw.utils;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

/**
 * @ClassName: ConfigUtils
 * @Description: 获取authorize配置工具类
 * @author lwz
 * @date 2017年12月20日 上午11:39:09 
 *
 */
@Configuration
public class ConfigUtils {
	
	@Value("${xkw.appKey:}")
    private String appKey;
	@Value("${xkw.appSecret:}")
    private String appSecret;
	@Value("${xkw.service:http://paycenter.zxxk.com}")
	private String service;
	@Value("${xkw.oauthServerUrl:https://t.zxxk.com}")
	private String oauthServerUrl;
	@Value("${xkw.xkwApiSeriveUrl}")
	private String XkwApiSeriveUrl;
	@Value("${xkw.xkwCallbackHostUrl}")
	private String xkwCallbackHostUrl;

	public String getAppKey() {
		return appKey;
	}

	public void setAppKey(String appKey) {
		this.appKey = appKey;
	}

	public String getAppSecret() {
		return appSecret;
	}

	public void setAppSecret(String appSecret) {
		this.appSecret = appSecret;
	}

	public String getService() {
		return service;
	}

	public void setService(String service) {
		this.service = service;
	}

	public String getOauthServerUrl() {
		return oauthServerUrl;
	}

	public void setOauthServerUrl(String oauthServerUrl) {
		this.oauthServerUrl = oauthServerUrl;
	}

	public String getXkwApiSeriveUrl() {
		return XkwApiSeriveUrl;
	}

	public void setXkwApiSeriveUrl(String xkwApiSeriveUrl) {
		XkwApiSeriveUrl = xkwApiSeriveUrl;
	}

	public String getXkwCallbackHostUrl() {
		return xkwCallbackHostUrl;
	}

	public void setXkwCallbackHostUrl(String xkwCallbackHostUrl) {
		this.xkwCallbackHostUrl = xkwCallbackHostUrl;
	}
}
